
//
// 120623 - AH - (Midtun) Created.
// 120629 - AH - (Midtun) getProducedDataName().
//

package org.soekrat.engine.captor;

import org.soekrat.conversationevent.ConversationEventSource;
import org.soekrat.environment.Sensor;
import org.soekrat.environment.event.SensorListener;

/**
 * <p>
 *   Interface for objects that captured
 *   {@link Sensor} sensed data.
 * </p>
 * @author Arne Halvorsen (AH)
 * @author Laetitia Le Chatton (LLC)
 */
public interface Captor extends ConversationEventSource, SensorListener
{
  /**
   * <p>
   *   Gets name of sensed data this can capture.
   * </p>
   * @return Name.
   */
  String getSensedDataType();
  
  /**
   * <p>
   *   The empty array shared.
   * </p>
   */
  public static final Captor[] EMPTY_ARRAY=new Captor[0];
  
}
